package comxin.demo4;

import org.junit.Test;

public class SellTicketTest {

    public static void main(String[] args) {
        SellTicket sellTicket=new SellTicket();
        Thread thread=new Thread(sellTicket,"窗口1");
        Thread thread1=new Thread(sellTicket,"窗口2");
        Thread thread2=new Thread(sellTicket,"窗口3");
        thread.start();
        thread1.start();
        thread2.start();
    }
}
